﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LEET.LEETCommon.Model;
using LEET.StandardModuals.Instructions.Actions;


namespace LEET.StandardModuals.Instructions
{
    public abstract class Action : Instruction
    {
        protected string type;
        protected string element;
        private int index;

        public Action(string[] args)
            : base(args)
        {
            type = args[1].Trim();
            element = (args.Count() > 2) ? args[2].Trim() : "";
            element = element.Replace("\"", "\\\"");
            index = 0;
        }

        
    }
}
